package datastructure.impl;

public class Node<T>{
	
	private T item;
	
	private Node<T> _next;
	
	public Node(){
		
		item = null;
		_next = null;
	}
	
	public Node(T i){
		
		item = i;
		_next = null;
	}
	
	public T getItem() {
		return item;
	}

	public void setItem(T item) {
		this.item = item;
	}

	public Node<T> get_next() {
		return _next;
	}

	public void set_next(Node<T> _next) {
		this._next = _next;
	}

}
